package com.feeyo.prophet.pojo.action.rcdi;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @author li
 */
@Data
public class BrainAnswerResp {

    /**
     * 数据部分: part = 1 表示正常回答， part = 2 表示数据来源引用
     */
    @JSONField
    private int part;

    /**
     * 具体数据
     */
    @JSONField
    private String data;

    public BrainAnswerResp() {

    }

    public BrainAnswerResp(int part, String data) {
        this.part = part;
        this.data = data;
    }

    public static BrainAnswerResp getBrainAnswerStep(int part, String data) {
        return new BrainAnswerResp(part, data);
    }

}
